package com.weharvest.appraisal.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TitleExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TitleExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTitleIdIsNull() {
            addCriterion("title_id is null");
            return (Criteria) this;
        }

        public Criteria andTitleIdIsNotNull() {
            addCriterion("title_id is not null");
            return (Criteria) this;
        }

        public Criteria andTitleIdEqualTo(Integer value) {
            addCriterion("title_id =", value, "titleId");
            return (Criteria) this;
        }

        public Criteria andTitleIdNotEqualTo(Integer value) {
            addCriterion("title_id <>", value, "titleId");
            return (Criteria) this;
        }

        public Criteria andTitleIdGreaterThan(Integer value) {
            addCriterion("title_id >", value, "titleId");
            return (Criteria) this;
        }

        public Criteria andTitleIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("title_id >=", value, "titleId");
            return (Criteria) this;
        }

        public Criteria andTitleIdLessThan(Integer value) {
            addCriterion("title_id <", value, "titleId");
            return (Criteria) this;
        }

        public Criteria andTitleIdLessThanOrEqualTo(Integer value) {
            addCriterion("title_id <=", value, "titleId");
            return (Criteria) this;
        }

        public Criteria andTitleIdIn(List<Integer> values) {
            addCriterion("title_id in", values, "titleId");
            return (Criteria) this;
        }

        public Criteria andTitleIdNotIn(List<Integer> values) {
            addCriterion("title_id not in", values, "titleId");
            return (Criteria) this;
        }

        public Criteria andTitleIdBetween(Integer value1, Integer value2) {
            addCriterion("title_id between", value1, value2, "titleId");
            return (Criteria) this;
        }

        public Criteria andTitleIdNotBetween(Integer value1, Integer value2) {
            addCriterion("title_id not between", value1, value2, "titleId");
            return (Criteria) this;
        }

        public Criteria andTitleContentIsNull() {
            addCriterion("title_content is null");
            return (Criteria) this;
        }

        public Criteria andTitleContentIsNotNull() {
            addCriterion("title_content is not null");
            return (Criteria) this;
        }

        public Criteria andTitleContentEqualTo(String value) {
            addCriterion("title_content =", value, "titleContent");
            return (Criteria) this;
        }

        public Criteria andTitleContentNotEqualTo(String value) {
            addCriterion("title_content <>", value, "titleContent");
            return (Criteria) this;
        }

        public Criteria andTitleContentGreaterThan(String value) {
            addCriterion("title_content >", value, "titleContent");
            return (Criteria) this;
        }

        public Criteria andTitleContentGreaterThanOrEqualTo(String value) {
            addCriterion("title_content >=", value, "titleContent");
            return (Criteria) this;
        }

        public Criteria andTitleContentLessThan(String value) {
            addCriterion("title_content <", value, "titleContent");
            return (Criteria) this;
        }

        public Criteria andTitleContentLessThanOrEqualTo(String value) {
            addCriterion("title_content <=", value, "titleContent");
            return (Criteria) this;
        }

        public Criteria andTitleContentLike(String value) {
            addCriterion("title_content like", value, "titleContent");
            return (Criteria) this;
        }

        public Criteria andTitleContentNotLike(String value) {
            addCriterion("title_content not like", value, "titleContent");
            return (Criteria) this;
        }

        public Criteria andTitleContentIn(List<String> values) {
            addCriterion("title_content in", values, "titleContent");
            return (Criteria) this;
        }

        public Criteria andTitleContentNotIn(List<String> values) {
            addCriterion("title_content not in", values, "titleContent");
            return (Criteria) this;
        }

        public Criteria andTitleContentBetween(String value1, String value2) {
            addCriterion("title_content between", value1, value2, "titleContent");
            return (Criteria) this;
        }

        public Criteria andTitleContentNotBetween(String value1, String value2) {
            addCriterion("title_content not between", value1, value2, "titleContent");
            return (Criteria) this;
        }

        public Criteria andAnswerIdIsNull() {
            addCriterion("answer_id is null");
            return (Criteria) this;
        }

        public Criteria andAnswerIdIsNotNull() {
            addCriterion("answer_id is not null");
            return (Criteria) this;
        }

        public Criteria andAnswerIdEqualTo(Integer value) {
            addCriterion("answer_id =", value, "answerId");
            return (Criteria) this;
        }

        public Criteria andAnswerIdNotEqualTo(Integer value) {
            addCriterion("answer_id <>", value, "answerId");
            return (Criteria) this;
        }

        public Criteria andAnswerIdGreaterThan(Integer value) {
            addCriterion("answer_id >", value, "answerId");
            return (Criteria) this;
        }

        public Criteria andAnswerIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("answer_id >=", value, "answerId");
            return (Criteria) this;
        }

        public Criteria andAnswerIdLessThan(Integer value) {
            addCriterion("answer_id <", value, "answerId");
            return (Criteria) this;
        }

        public Criteria andAnswerIdLessThanOrEqualTo(Integer value) {
            addCriterion("answer_id <=", value, "answerId");
            return (Criteria) this;
        }

        public Criteria andAnswerIdIn(List<Integer> values) {
            addCriterion("answer_id in", values, "answerId");
            return (Criteria) this;
        }

        public Criteria andAnswerIdNotIn(List<Integer> values) {
            addCriterion("answer_id not in", values, "answerId");
            return (Criteria) this;
        }

        public Criteria andAnswerIdBetween(Integer value1, Integer value2) {
            addCriterion("answer_id between", value1, value2, "answerId");
            return (Criteria) this;
        }

        public Criteria andAnswerIdNotBetween(Integer value1, Integer value2) {
            addCriterion("answer_id not between", value1, value2, "answerId");
            return (Criteria) this;
        }

        public Criteria andAnswerIdOneIsNull() {
            addCriterion("answer_id_one is null");
            return (Criteria) this;
        }

        public Criteria andAnswerIdOneIsNotNull() {
            addCriterion("answer_id_one is not null");
            return (Criteria) this;
        }

        public Criteria andAnswerIdOneEqualTo(Integer value) {
            addCriterion("answer_id_one =", value, "answerIdOne");
            return (Criteria) this;
        }

        public Criteria andAnswerIdOneNotEqualTo(Integer value) {
            addCriterion("answer_id_one <>", value, "answerIdOne");
            return (Criteria) this;
        }

        public Criteria andAnswerIdOneGreaterThan(Integer value) {
            addCriterion("answer_id_one >", value, "answerIdOne");
            return (Criteria) this;
        }

        public Criteria andAnswerIdOneGreaterThanOrEqualTo(Integer value) {
            addCriterion("answer_id_one >=", value, "answerIdOne");
            return (Criteria) this;
        }

        public Criteria andAnswerIdOneLessThan(Integer value) {
            addCriterion("answer_id_one <", value, "answerIdOne");
            return (Criteria) this;
        }

        public Criteria andAnswerIdOneLessThanOrEqualTo(Integer value) {
            addCriterion("answer_id_one <=", value, "answerIdOne");
            return (Criteria) this;
        }

        public Criteria andAnswerIdOneIn(List<Integer> values) {
            addCriterion("answer_id_one in", values, "answerIdOne");
            return (Criteria) this;
        }

        public Criteria andAnswerIdOneNotIn(List<Integer> values) {
            addCriterion("answer_id_one not in", values, "answerIdOne");
            return (Criteria) this;
        }

        public Criteria andAnswerIdOneBetween(Integer value1, Integer value2) {
            addCriterion("answer_id_one between", value1, value2, "answerIdOne");
            return (Criteria) this;
        }

        public Criteria andAnswerIdOneNotBetween(Integer value1, Integer value2) {
            addCriterion("answer_id_one not between", value1, value2, "answerIdOne");
            return (Criteria) this;
        }

        public Criteria andAnswerIdTwoIsNull() {
            addCriterion("answer_id_two is null");
            return (Criteria) this;
        }

        public Criteria andAnswerIdTwoIsNotNull() {
            addCriterion("answer_id_two is not null");
            return (Criteria) this;
        }

        public Criteria andAnswerIdTwoEqualTo(Integer value) {
            addCriterion("answer_id_two =", value, "answerIdTwo");
            return (Criteria) this;
        }

        public Criteria andAnswerIdTwoNotEqualTo(Integer value) {
            addCriterion("answer_id_two <>", value, "answerIdTwo");
            return (Criteria) this;
        }

        public Criteria andAnswerIdTwoGreaterThan(Integer value) {
            addCriterion("answer_id_two >", value, "answerIdTwo");
            return (Criteria) this;
        }

        public Criteria andAnswerIdTwoGreaterThanOrEqualTo(Integer value) {
            addCriterion("answer_id_two >=", value, "answerIdTwo");
            return (Criteria) this;
        }

        public Criteria andAnswerIdTwoLessThan(Integer value) {
            addCriterion("answer_id_two <", value, "answerIdTwo");
            return (Criteria) this;
        }

        public Criteria andAnswerIdTwoLessThanOrEqualTo(Integer value) {
            addCriterion("answer_id_two <=", value, "answerIdTwo");
            return (Criteria) this;
        }

        public Criteria andAnswerIdTwoIn(List<Integer> values) {
            addCriterion("answer_id_two in", values, "answerIdTwo");
            return (Criteria) this;
        }

        public Criteria andAnswerIdTwoNotIn(List<Integer> values) {
            addCriterion("answer_id_two not in", values, "answerIdTwo");
            return (Criteria) this;
        }

        public Criteria andAnswerIdTwoBetween(Integer value1, Integer value2) {
            addCriterion("answer_id_two between", value1, value2, "answerIdTwo");
            return (Criteria) this;
        }

        public Criteria andAnswerIdTwoNotBetween(Integer value1, Integer value2) {
            addCriterion("answer_id_two not between", value1, value2, "answerIdTwo");
            return (Criteria) this;
        }

        public Criteria andAnswerIdFourIsNull() {
            addCriterion("answer_id_four is null");
            return (Criteria) this;
        }

        public Criteria andAnswerIdFourIsNotNull() {
            addCriterion("answer_id_four is not null");
            return (Criteria) this;
        }

        public Criteria andAnswerIdFourEqualTo(Integer value) {
            addCriterion("answer_id_four =", value, "answerIdFour");
            return (Criteria) this;
        }

        public Criteria andAnswerIdFourNotEqualTo(Integer value) {
            addCriterion("answer_id_four <>", value, "answerIdFour");
            return (Criteria) this;
        }

        public Criteria andAnswerIdFourGreaterThan(Integer value) {
            addCriterion("answer_id_four >", value, "answerIdFour");
            return (Criteria) this;
        }

        public Criteria andAnswerIdFourGreaterThanOrEqualTo(Integer value) {
            addCriterion("answer_id_four >=", value, "answerIdFour");
            return (Criteria) this;
        }

        public Criteria andAnswerIdFourLessThan(Integer value) {
            addCriterion("answer_id_four <", value, "answerIdFour");
            return (Criteria) this;
        }

        public Criteria andAnswerIdFourLessThanOrEqualTo(Integer value) {
            addCriterion("answer_id_four <=", value, "answerIdFour");
            return (Criteria) this;
        }

        public Criteria andAnswerIdFourIn(List<Integer> values) {
            addCriterion("answer_id_four in", values, "answerIdFour");
            return (Criteria) this;
        }

        public Criteria andAnswerIdFourNotIn(List<Integer> values) {
            addCriterion("answer_id_four not in", values, "answerIdFour");
            return (Criteria) this;
        }

        public Criteria andAnswerIdFourBetween(Integer value1, Integer value2) {
            addCriterion("answer_id_four between", value1, value2, "answerIdFour");
            return (Criteria) this;
        }

        public Criteria andAnswerIdFourNotBetween(Integer value1, Integer value2) {
            addCriterion("answer_id_four not between", value1, value2, "answerIdFour");
            return (Criteria) this;
        }

        public Criteria andAnswerIdEightIsNull() {
            addCriterion("answer_id_eight is null");
            return (Criteria) this;
        }

        public Criteria andAnswerIdEightIsNotNull() {
            addCriterion("answer_id_eight is not null");
            return (Criteria) this;
        }

        public Criteria andAnswerIdEightEqualTo(Integer value) {
            addCriterion("answer_id_eight =", value, "answerIdEight");
            return (Criteria) this;
        }

        public Criteria andAnswerIdEightNotEqualTo(Integer value) {
            addCriterion("answer_id_eight <>", value, "answerIdEight");
            return (Criteria) this;
        }

        public Criteria andAnswerIdEightGreaterThan(Integer value) {
            addCriterion("answer_id_eight >", value, "answerIdEight");
            return (Criteria) this;
        }

        public Criteria andAnswerIdEightGreaterThanOrEqualTo(Integer value) {
            addCriterion("answer_id_eight >=", value, "answerIdEight");
            return (Criteria) this;
        }

        public Criteria andAnswerIdEightLessThan(Integer value) {
            addCriterion("answer_id_eight <", value, "answerIdEight");
            return (Criteria) this;
        }

        public Criteria andAnswerIdEightLessThanOrEqualTo(Integer value) {
            addCriterion("answer_id_eight <=", value, "answerIdEight");
            return (Criteria) this;
        }

        public Criteria andAnswerIdEightIn(List<Integer> values) {
            addCriterion("answer_id_eight in", values, "answerIdEight");
            return (Criteria) this;
        }

        public Criteria andAnswerIdEightNotIn(List<Integer> values) {
            addCriterion("answer_id_eight not in", values, "answerIdEight");
            return (Criteria) this;
        }

        public Criteria andAnswerIdEightBetween(Integer value1, Integer value2) {
            addCriterion("answer_id_eight between", value1, value2, "answerIdEight");
            return (Criteria) this;
        }

        public Criteria andAnswerIdEightNotBetween(Integer value1, Integer value2) {
            addCriterion("answer_id_eight not between", value1, value2, "answerIdEight");
            return (Criteria) this;
        }

        public Criteria andAnswerIdSixteenIsNull() {
            addCriterion("answer_id_sixteen is null");
            return (Criteria) this;
        }

        public Criteria andAnswerIdSixteenIsNotNull() {
            addCriterion("answer_id_sixteen is not null");
            return (Criteria) this;
        }

        public Criteria andAnswerIdSixteenEqualTo(Integer value) {
            addCriterion("answer_id_sixteen =", value, "answerIdSixteen");
            return (Criteria) this;
        }

        public Criteria andAnswerIdSixteenNotEqualTo(Integer value) {
            addCriterion("answer_id_sixteen <>", value, "answerIdSixteen");
            return (Criteria) this;
        }

        public Criteria andAnswerIdSixteenGreaterThan(Integer value) {
            addCriterion("answer_id_sixteen >", value, "answerIdSixteen");
            return (Criteria) this;
        }

        public Criteria andAnswerIdSixteenGreaterThanOrEqualTo(Integer value) {
            addCriterion("answer_id_sixteen >=", value, "answerIdSixteen");
            return (Criteria) this;
        }

        public Criteria andAnswerIdSixteenLessThan(Integer value) {
            addCriterion("answer_id_sixteen <", value, "answerIdSixteen");
            return (Criteria) this;
        }

        public Criteria andAnswerIdSixteenLessThanOrEqualTo(Integer value) {
            addCriterion("answer_id_sixteen <=", value, "answerIdSixteen");
            return (Criteria) this;
        }

        public Criteria andAnswerIdSixteenIn(List<Integer> values) {
            addCriterion("answer_id_sixteen in", values, "answerIdSixteen");
            return (Criteria) this;
        }

        public Criteria andAnswerIdSixteenNotIn(List<Integer> values) {
            addCriterion("answer_id_sixteen not in", values, "answerIdSixteen");
            return (Criteria) this;
        }

        public Criteria andAnswerIdSixteenBetween(Integer value1, Integer value2) {
            addCriterion("answer_id_sixteen between", value1, value2, "answerIdSixteen");
            return (Criteria) this;
        }

        public Criteria andAnswerIdSixteenNotBetween(Integer value1, Integer value2) {
            addCriterion("answer_id_sixteen not between", value1, value2, "answerIdSixteen");
            return (Criteria) this;
        }

        public Criteria andAnswerIdThirtyTwoIsNull() {
            addCriterion("\"answer_id_ thirty-two\" is null");
            return (Criteria) this;
        }

        public Criteria andAnswerIdThirtyTwoIsNotNull() {
            addCriterion("\"answer_id_ thirty-two\" is not null");
            return (Criteria) this;
        }

        public Criteria andAnswerIdThirtyTwoEqualTo(Integer value) {
            addCriterion("\"answer_id_ thirty-two\" =", value, "answerIdThirtyTwo");
            return (Criteria) this;
        }

        public Criteria andAnswerIdThirtyTwoNotEqualTo(Integer value) {
            addCriterion("\"answer_id_ thirty-two\" <>", value, "answerIdThirtyTwo");
            return (Criteria) this;
        }

        public Criteria andAnswerIdThirtyTwoGreaterThan(Integer value) {
            addCriterion("\"answer_id_ thirty-two\" >", value, "answerIdThirtyTwo");
            return (Criteria) this;
        }

        public Criteria andAnswerIdThirtyTwoGreaterThanOrEqualTo(Integer value) {
            addCriterion("\"answer_id_ thirty-two\" >=", value, "answerIdThirtyTwo");
            return (Criteria) this;
        }

        public Criteria andAnswerIdThirtyTwoLessThan(Integer value) {
            addCriterion("\"answer_id_ thirty-two\" <", value, "answerIdThirtyTwo");
            return (Criteria) this;
        }

        public Criteria andAnswerIdThirtyTwoLessThanOrEqualTo(Integer value) {
            addCriterion("\"answer_id_ thirty-two\" <=", value, "answerIdThirtyTwo");
            return (Criteria) this;
        }

        public Criteria andAnswerIdThirtyTwoIn(List<Integer> values) {
            addCriterion("\"answer_id_ thirty-two\" in", values, "answerIdThirtyTwo");
            return (Criteria) this;
        }

        public Criteria andAnswerIdThirtyTwoNotIn(List<Integer> values) {
            addCriterion("\"answer_id_ thirty-two\" not in", values, "answerIdThirtyTwo");
            return (Criteria) this;
        }

        public Criteria andAnswerIdThirtyTwoBetween(Integer value1, Integer value2) {
            addCriterion("\"answer_id_ thirty-two\" between", value1, value2, "answerIdThirtyTwo");
            return (Criteria) this;
        }

        public Criteria andAnswerIdThirtyTwoNotBetween(Integer value1, Integer value2) {
            addCriterion("\"answer_id_ thirty-two\" not between", value1, value2, "answerIdThirtyTwo");
            return (Criteria) this;
        }

        public Criteria andAnswerGradeIsNull() {
            addCriterion("answer_grade is null");
            return (Criteria) this;
        }

        public Criteria andAnswerGradeIsNotNull() {
            addCriterion("answer_grade is not null");
            return (Criteria) this;
        }

        public Criteria andAnswerGradeEqualTo(Integer value) {
            addCriterion("answer_grade =", value, "answerGrade");
            return (Criteria) this;
        }

        public Criteria andAnswerGradeNotEqualTo(Integer value) {
            addCriterion("answer_grade <>", value, "answerGrade");
            return (Criteria) this;
        }

        public Criteria andAnswerGradeGreaterThan(Integer value) {
            addCriterion("answer_grade >", value, "answerGrade");
            return (Criteria) this;
        }

        public Criteria andAnswerGradeGreaterThanOrEqualTo(Integer value) {
            addCriterion("answer_grade >=", value, "answerGrade");
            return (Criteria) this;
        }

        public Criteria andAnswerGradeLessThan(Integer value) {
            addCriterion("answer_grade <", value, "answerGrade");
            return (Criteria) this;
        }

        public Criteria andAnswerGradeLessThanOrEqualTo(Integer value) {
            addCriterion("answer_grade <=", value, "answerGrade");
            return (Criteria) this;
        }

        public Criteria andAnswerGradeIn(List<Integer> values) {
            addCriterion("answer_grade in", values, "answerGrade");
            return (Criteria) this;
        }

        public Criteria andAnswerGradeNotIn(List<Integer> values) {
            addCriterion("answer_grade not in", values, "answerGrade");
            return (Criteria) this;
        }

        public Criteria andAnswerGradeBetween(Integer value1, Integer value2) {
            addCriterion("answer_grade between", value1, value2, "answerGrade");
            return (Criteria) this;
        }

        public Criteria andAnswerGradeNotBetween(Integer value1, Integer value2) {
            addCriterion("answer_grade not between", value1, value2, "answerGrade");
            return (Criteria) this;
        }

        public Criteria andCreateNameIsNull() {
            addCriterion("create_name is null");
            return (Criteria) this;
        }

        public Criteria andCreateNameIsNotNull() {
            addCriterion("create_name is not null");
            return (Criteria) this;
        }

        public Criteria andCreateNameEqualTo(String value) {
            addCriterion("create_name =", value, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameNotEqualTo(String value) {
            addCriterion("create_name <>", value, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameGreaterThan(String value) {
            addCriterion("create_name >", value, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameGreaterThanOrEqualTo(String value) {
            addCriterion("create_name >=", value, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameLessThan(String value) {
            addCriterion("create_name <", value, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameLessThanOrEqualTo(String value) {
            addCriterion("create_name <=", value, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameLike(String value) {
            addCriterion("create_name like", value, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameNotLike(String value) {
            addCriterion("create_name not like", value, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameIn(List<String> values) {
            addCriterion("create_name in", values, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameNotIn(List<String> values) {
            addCriterion("create_name not in", values, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameBetween(String value1, String value2) {
            addCriterion("create_name between", value1, value2, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameNotBetween(String value1, String value2) {
            addCriterion("create_name not between", value1, value2, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andPictureUrlIsNull() {
            addCriterion("picture_url is null");
            return (Criteria) this;
        }

        public Criteria andPictureUrlIsNotNull() {
            addCriterion("picture_url is not null");
            return (Criteria) this;
        }

        public Criteria andPictureUrlEqualTo(String value) {
            addCriterion("picture_url =", value, "pictureUrl");
            return (Criteria) this;
        }

        public Criteria andPictureUrlNotEqualTo(String value) {
            addCriterion("picture_url <>", value, "pictureUrl");
            return (Criteria) this;
        }

        public Criteria andPictureUrlGreaterThan(String value) {
            addCriterion("picture_url >", value, "pictureUrl");
            return (Criteria) this;
        }

        public Criteria andPictureUrlGreaterThanOrEqualTo(String value) {
            addCriterion("picture_url >=", value, "pictureUrl");
            return (Criteria) this;
        }

        public Criteria andPictureUrlLessThan(String value) {
            addCriterion("picture_url <", value, "pictureUrl");
            return (Criteria) this;
        }

        public Criteria andPictureUrlLessThanOrEqualTo(String value) {
            addCriterion("picture_url <=", value, "pictureUrl");
            return (Criteria) this;
        }

        public Criteria andPictureUrlLike(String value) {
            addCriterion("picture_url like", value, "pictureUrl");
            return (Criteria) this;
        }

        public Criteria andPictureUrlNotLike(String value) {
            addCriterion("picture_url not like", value, "pictureUrl");
            return (Criteria) this;
        }

        public Criteria andPictureUrlIn(List<String> values) {
            addCriterion("picture_url in", values, "pictureUrl");
            return (Criteria) this;
        }

        public Criteria andPictureUrlNotIn(List<String> values) {
            addCriterion("picture_url not in", values, "pictureUrl");
            return (Criteria) this;
        }

        public Criteria andPictureUrlBetween(String value1, String value2) {
            addCriterion("picture_url between", value1, value2, "pictureUrl");
            return (Criteria) this;
        }

        public Criteria andPictureUrlNotBetween(String value1, String value2) {
            addCriterion("picture_url not between", value1, value2, "pictureUrl");
            return (Criteria) this;
        }

        public Criteria andFlagIsNull() {
            addCriterion("flag is null");
            return (Criteria) this;
        }

        public Criteria andFlagIsNotNull() {
            addCriterion("flag is not null");
            return (Criteria) this;
        }

        public Criteria andFlagEqualTo(Integer value) {
            addCriterion("flag =", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotEqualTo(Integer value) {
            addCriterion("flag <>", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThan(Integer value) {
            addCriterion("flag >", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("flag >=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThan(Integer value) {
            addCriterion("flag <", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThanOrEqualTo(Integer value) {
            addCriterion("flag <=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagIn(List<Integer> values) {
            addCriterion("flag in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotIn(List<Integer> values) {
            addCriterion("flag not in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagBetween(Integer value1, Integer value2) {
            addCriterion("flag between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("flag not between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("state is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("state is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(Integer value) {
            addCriterion("state =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(Integer value) {
            addCriterion("state <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(Integer value) {
            addCriterion("state >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("state >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(Integer value) {
            addCriterion("state <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(Integer value) {
            addCriterion("state <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<Integer> values) {
            addCriterion("state in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<Integer> values) {
            addCriterion("state not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(Integer value1, Integer value2) {
            addCriterion("state between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(Integer value1, Integer value2) {
            addCriterion("state not between", value1, value2, "state");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}